Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oop-timers

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oop-timers

OOP timers (timeout and interval) for JavaScript

  • 3.0.1
  • npm
  • Socket score

Version published
Weekly downloads
118
increased by10.28%
Maintainers
1
Weekly downloads
 
Created
Source

oop-timers

oop-timers are OOP timers (timeout and interval) for JavaScript. If you need to clear timeouts a lot and don't want keep track of timers id and passing them to clearTimeout - this library is for you.

I bet you probably have written such class few times already, copying and pasting it over various projects or rewriting each time. As no one published such code yet - I just did, so you don't have to.

Docs

Documentation can be found here: oop-timers documentation. Jump directly to usage description: oop-timers usage.

Installing

npm install oop-timers

Features

  • OOP way of writing timers
  • Unit tests

To be done

  • Support for setImmediate?
  • Support for requestAnimationFrame?

License

MIT

FAQs

Package last updated on 13 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc